<template>
	<view class="p-30">
		<view class="flex flex-column align-center justify-center">
			<uv-empty mode="permission" text="抱歉，你无权访问该页面" textSize="20" marginTop="50" iconSize="100"></uv-empty>
			<view class="mt-30">
				<uv-button type="primary" @click="goHome" text="回到首页" size="small"></uv-button>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		goHome() {
			uni.switchTab({
				url: '/pages/tabbar/home/home'
			});
		}
	}
};
</script>

<style scoped>
uni-page-body,
uni-page-refresh {
	background-color: #fff;
}
</style>
